﻿<div  class="navbar navbar-fixed-top">
  <div class="navbar-inner">
		<div class="container">
		
		<div id="" style="margin-top:10px;display:block;position:absolute;width:150px;height:26px;top:9px;left:50%;margin-left:-50px;font-size:2em;cursor:hand;" onclick="window.location.href='index.php';">一人一本</div>
		<a href="currentgroupbuy.php" ><img src="img/团购head.jpg" style="height:70;width=50;margin-left:500px"></a>
		<div style="margin-left:0;margin-top:20px;margin-bottom:10px;width:300px;" class="navbar-content pull-left">
			
			<div class="row-fluid">
				<div class="btn-group pull-left"style="margin-top:0">
					<button id="search-type" class="btn btn-small btn-warning dropdown-toggle" style="height:30px;width:70px;"data-toggle="dropdown"><span id="type-text">书名</span> <span class="caret"></span></button>
					<ul class="dropdown-menu">
						<li><a class=""data-id="书名"href="#">书名</a></li>
						<li><a class=""data-id="作者"href="#">作者</a></li>
						<li><a class=""data-id="出版社"href="#">出版社</a></li>
					</ul>
				</div>
			<form id="search-box" style="margin-bottom:0" action="searchresult.php" onsubmit="search()">
				<input id="search-text" type="text" name="query" class="pull-right search-query" style="height:30;width:75%;" placeholder="搜索 &nbsp;&nbsp;书名">
				<input id="query_type" type="hidden" name="query_type" value="">
			</form>
			</div>
		</div>
		<div class="navbar-content pull-right">
			<ul class="nav">
			  <li class="">
				<a id="cart_head" href="shoppingcart.php">购物车</a> 
			  </li>
			  <li id="login_link_2">
				<a id="login_link" href="#login" class="navbar-link" data-toggle="modal">登录</a>
			  </li>
			  <li id="personal_info_nav" class="dropdown">
                <a id="customer_name" class="dropdown-toggle" data-toggle="dropdown" href="#">陈汉霖 <b class="caret"></b></a>
                <ul class="dropdown-menu pull-right">
                  <li><a href="personalInfo.php" style="text-align:right">信息维护</a></li>
				  <li class="divider"></li>
                  <li><a href="#" id="logoff_link" style="text-align:right" onclick="return delCookie();">注销</a></li>
                </ul>
              </li>
			</ul> 
		</div>
		</div>
    </div>
</div>